using Core;
using SdlDotNet.Graphics;

namespace SpaceTrader.Tests.Mocks
{
    internal class TestGameObject : GameObject
    {
        public bool Rendered = false;
        public bool Updated = false;

        public TestGameObject(int x, int y) : base(x, y)
        {
        }

        public TestGameObject(int x, int y, string name) : base(x, y, name)
        {
        }

        public override void Update()
        {
            Updated = true;
        }

        public override Surface Render()
        {
            Rendered = true;
            return new Surface(1, 1);
        }
    }
}